﻿using System;
using System.Collections.Generic;
using System.Text;
using Common;
using Model;
using System.Data;

namespace BLL
{
    public class AdminUserManage
    {
        //用户添加
        //用户编辑
        //用户保存
        //查询单个用户信息
        public static Model.AdminUser SelectUserByID(int id)
        {
            return DAL.AdminUserService.SelectUserByID(id);
        }
        public static Model.AdminUser SelectUserByUsername(string username)
        {
            return DAL.AdminUserService.SelectUserByUsername(username);
        }
        //用户登陆
        public static bool UserLogin(string username, string pwd)
        {
            return DAL.AdminUserService.UserLogin(username,pwd);
        }
    
    }
}
